﻿namespace BookMarks.Server.Models.Extend;

/// <summary>
/// 导航项类
/// </summary>
public class NavItem
{
    /// <summary>
    /// 组件名称
    /// </summary>
    public string Component { get; set; }
    /// <summary>
    /// 配置信息
    /// </summary>
    public Dictionary<string, object> Config { get; set; }
    /// <summary>
    /// 导航项ID
    /// </summary>
    public string Id { get; set; }
    /// <summary>
    /// 导航项名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 导航项大小
    /// </summary>
    public string Size { get; set; }
    /// <summary>
    /// 导航项类型
    /// </summary>
    public string Type { get; set; }
    /// <summary>
    /// 导航项视图
    /// </summary>
    public int? View { get; set; }
    /// <summary>
    /// 背景颜色
    /// </summary>
    public string BackgroundColor { get; set; }
    /// <summary>
    /// 图标文本
    /// </summary>
    public string IconText { get; set; }
    /// <summary>
    /// 图标源
    /// </summary>
    public string Src { get; set; }
    /// <summary>
    /// 导航项URL
    /// </summary>
    public string Url { get; set; }
}